<template>
	<view class="box">
		<view class="tab">
			<view class="">
				全部（5555）
			</view>
			<view class="">
				全部（566）
			</view>
		</view>
		<uni-evaluate :list-data="test" :rate="5"/>
	</view>
</template>

<script>
	import uniEvaluate from '../../components/xiujun-evaluate/uni-evaluate.vue';
	export default {
		data() {
			return {
				test:[{
					user_name:'111',
					rate:3,
					create_time:'2017/1/1',
					content:'ssss'
				},
				{
				user_name:'111',
				rate:3,
				create_time:'2017/1/1',
				content:'ssss'	
				}]
			}
		},
		methods: {
			
		},
		components: {uniEvaluate}
	}
</script>

<style lang="scss">
.box{
	width: 750rpx;
	.tab{
		margin-top: 20rpx;
		margin-bottom: 20rpx;
		padding-left: 20rpx;
		box-sizing: border-box;
		display: flex;
		view{
			font-size: 24rpx;
			width: 190rpx;
			height: 60rpx;
			margin-left: 5rpx;
			background-color: red;
			text-align: center;
			line-height: 60rpx;
			border-radius: 10px;
		}
	}
}
</style>
